package com.zp.datax.dao;


import com.zp.datax.core.model.DataxJobTrigger;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DataxJobTriggerDao {

    List<DataxJobTrigger> findAll();

    int save(DataxJobTrigger dataxJobTrigger);

    int update(DataxJobTrigger dataxJobTrigger);

    int remove(@Param("taskId") int taskId);

    DataxJobTrigger load(@Param("taskId") int taskId);
}
